package com.wenwei.bean;

import java.util.List;

/**
 * Created by nidalee on 2017/9/25.
 */

public class WalletHisBean {


    /**
     * timestamp : 1506327142841
     * code : 200
     * message : data success
     * path : http://localhost:8080/app/getWalletLog
     * method : GET
     * total : 3
     * total_page : 1
     * now_page : 0
     * page_size : 0
     * per_total : 0
     * start_num : 1
     * per_page : 10
     * data : [{"id":3,"userId":1,"interfixId":"20170921145459s651","amount":12,"balance":null,"type":2,"createdTime":1505977216000},{"id":2,"userId":1,"interfixId":"20170901152751s424","amount":17,"balance":null,"type":2,"createdTime":1504251239000},{"id":1,"userId":1,"interfixId":"20170901151256s272","amount":24,"balance":null,"type":2,"createdTime":1504250496000}]
     */

    private long timestamp;
    private int code;
    private String message;
    private String path;
    private String method;
    private int total;
    private int total_page;
    private int now_page;
    private int page_size;
    private int per_total;
    private int start_num;
    private int per_page;
    private List<DataBean> data;

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getTotal_page() {
        return total_page;
    }

    public void setTotal_page(int total_page) {
        this.total_page = total_page;
    }

    public int getNow_page() {
        return now_page;
    }

    public void setNow_page(int now_page) {
        this.now_page = now_page;
    }

    public int getPage_size() {
        return page_size;
    }

    public void setPage_size(int page_size) {
        this.page_size = page_size;
    }

    public int getPer_total() {
        return per_total;
    }

    public void setPer_total(int per_total) {
        this.per_total = per_total;
    }

    public int getStart_num() {
        return start_num;
    }

    public void setStart_num(int start_num) {
        this.start_num = start_num;
    }

    public int getPer_page() {
        return per_page;
    }

    public void setPer_page(int per_page) {
        this.per_page = per_page;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 3
         * userId : 1
         * interfixId : 20170921145459s651
         * amount : 12
         * balance : null
         * type : 2
         * createdTime : 1505977216000
         */

        private int id;
        private int userId;
        private String interfixId;
        private double amount;
        private Object balance;
        private int type;
        private long createdTime;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getInterfixId() {
            return interfixId;
        }

        public void setInterfixId(String interfixId) {
            this.interfixId = interfixId;
        }

        public double getAmount() {
            return amount;
        }

        public void setAmount(double amount) {
            this.amount = amount;
        }

        public Object getBalance() {
            return balance;
        }

        public void setBalance(Object balance) {
            this.balance = balance;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public long getCreatedTime() {
            return createdTime;
        }

        public void setCreatedTime(long createdTime) {
            this.createdTime = createdTime;
        }
    }
}
